# Makefile for NETCONF project
#  
#   yangdump library directory

############### SOURCE PROFILE #############################
SUBDIR_NM=ydump
SUBDIR_CPP=

############### TARGET PROFILE ##############################
TARGET=$(TBASE)/$(SUBDIR_NM)
BIN_INST=$(TBASE)/bin

####################### MAKE RULES #########################
ifdef DEVELOPER
all:
else
all: ydumpdummy ydumplib
endif  # DEVELOPER

#################### PLATFORM DEFINITIONS ############
include ../platform/platform.profile

################ DEPENDENCIES #########################
# depend rule must be included after the 'all' make rule

include ../platform/platform.profile.depend


test:

install:

uninstall:

ydumplib: dependencies $(LBASE)/lib$(SUBDIR_NM).a


# this dummy rule keeps make from deleting the $(OBJS) as
# intermediate files
ydumpdummy: dependencies $(OBJS)


clean:
	rm -f $(OBJS) $(LBASE)/lib$(SUBDIR_NM).*

superclean:
	rm -f *~  $(DEPS) dependencies $(OBJS) \
	$(LBASE)/lib$(SUBDIR_NM).*

distclean: superclean

.PHONY: ydumplib ydumpdummy

# prevent the make program from choking on all the symbols
# that get generated from autogenerated make rules
.NOEXPORT:

ifndef SERVER
include dependencies
endif
